package com.zxw.xml.domain.vo;

import com.zxw.xml.annotation.XmlAttributeName;
import com.zxw.xml.annotation.XmlRootElementName;
import com.zxw.xml.annotation.XmlTagName;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @projectName: ruoyi
 * @package: com.ruoyi.bmp.fi.domain.vo
 * @className: SyncncRecSettleBIillVO
 * @author: zhangxuewei
 * @description: 同步nc首款结算单VO
 * @date: 2023/7/6 10:06
 * @version: 1.0
 */
public class SyncNcRecSettleBIillVO {

    // 单据日期
    @XmlTagName(tagName = "bill_date")
    private Date billDate;

    // 制单人
    private String billmaker;

    // 制单日期
    @XmlTagName(tagName = "billmaker_date")
    private Date billmakerDate;

    // 创建人
    private String creator;

    // 币种
    @XmlTagName(tagName = "pk_currtype")
    private String pkCurrtype;

    // 所属集团
    @XmlTagName(tagName = "pk_group")
    private String pkGroup;

    // 结算财务组织
    @XmlTagName(tagName = "pk_org")
    private String pkOrg;

    @XmlTagName(tagName = "items", arrayObjTagName = "item")
    private List<RecSettleBIillDetail> items;

    public static class RecSettleBIillDetail {

        // 单据分录编号
        @XmlTagName(tagName = "billdetail_no")
        private String billdetailNo;

        // 摘要
        private String memo;

        // 收款银行账户
        @XmlTagName(tagName = "pk_account")
        private String pkAccount;

        // 所属集团
        @XmlTagName(tagName = "pk_group")
        private String pkGroup;

        // 结算财务组织
        @XmlTagName(tagName = "pk_org")
        private String pkOrg;

        // 收支项目
        @XmlTagName(tagName = "pk_recproject")
        private String pkRecproject;

        // 收款原币金额
        @XmlTagName(tagName = "rec_primal")
        private BigDecimal recPrimal;

        public String getBilldetailNo() {
            return billdetailNo;
        }

        public void setBilldetailNo(String billdetailNo) {
            this.billdetailNo = billdetailNo;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public String getPkAccount() {
            return pkAccount;
        }

        public void setPkAccount(String pkAccount) {
            this.pkAccount = pkAccount;
        }
    }

    public Date getBillDate() {
        return billDate;
    }

    public void setBillDate(Date billDate) {
        this.billDate = billDate;
    }

    public String getBillmaker() {
        return billmaker;
    }

    public void setBillmaker(String billmaker) {
        this.billmaker = billmaker;
    }

    public Date getBillmakerDate() {
        return billmakerDate;
    }

    public void setBillmakerDate(Date billmakerDate) {
        this.billmakerDate = billmakerDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getPkCurrtype() {
        return pkCurrtype;
    }

    public void setPkCurrtype(String pkCurrtype) {
        this.pkCurrtype = pkCurrtype;
    }

    public String getPkGroup() {
        return pkGroup;
    }

    public void setPkGroup(String pkGroup) {
        this.pkGroup = pkGroup;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public List<RecSettleBIillDetail> getItems() {
        return items;
    }

    public void setItems(List<RecSettleBIillDetail> items) {
        this.items = items;
    }
}
